#ifndef WiFi_H
#define WiFi_H

#include "stm32f4xx.h"
#include "string.h"

#define Publish_Topic    "/sys/a10Pi2tHMBe/SmartLife/thing/event/property/post"
#define Subscribe_Topic  "/sys/a10Pi2tHMBe/SmartLife/thing/event/property/post_reply"

void WiFi_TCP_Init(void);
char WiFi_SendAT(char *AT,char *respond);
void WiFi_ConnectAP(char *ssid,char *pwd);
void WiFi_ConnectServer(char *type,char *remote_IP,char* remote_Port);
void WiFi_ExitTransmit(void);

#endif
